package com.prs.crm.dao.receipt.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.receipt.ReceiptFlowTypeDao;
import com.prs.crm.domain.receipt.ReceiptFlowType;

public class ReceiptFlowTypeDaoImpl extends BaseDaoImpl<ReceiptFlowType> implements ReceiptFlowTypeDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<ReceiptFlowType> getAllReceiptFlowType() {
		Criteria criteria=this.getSession().createCriteria(ReceiptFlowType.class);
		return criteria.list();
	}
}
